Classroom management is not about controlling the students, it is about managing the classroom environment. It is about managing response to behavior in the classroom. It is not yelling, threatening, or loosing control. It is about remaining IN CONTROL!!

When students are learning, they are not misbehaving. Well written lesson plans are the first step to managing a classroom.
Levin and Nolan address the components of a well written lesson plan as the following:

1. Lesson introduction: Allows students to know what they are to learn and provides a hook to motivate the students.

2. Explanation of the content of the lesson in an orderly process:
a. This should have organizers, objectives stated clearly, using an overview of the lesson.
b. Call attention to main ideas.
c. Summarizing the main ideas.

3. Ask questions of students to check for understanding. Ask several students for answers before commenting on the responses. Ask students to respond to other students' answers.

4. Practice: Students are given guided practice to use the new skill or knowledge.

5. Closure of the lesson. Allow students to summarize the main ideas.

6. Independent practice where students practice the new skill and achieve success.

7. Weekly review of material learned.

You probably are saying to yourself, How is that going to help with classroom management?
Research has shown that these parts of a lesson provide a basis for student understanding of what is to be learned and provides a framework for the learning to take place sequentially.

Levin, J. & Nolan, J.F. (2007). Principles of classroom management: A professional decision-making model (5th
ed.). Boston, MA: Pearson Education, Inc.