Classroom management can me summed up in one word, respect. If you respect your students and treat them the way you feel that you should be treated then they will give you respect. Telling the students your expectations for a class is the best way to improve student behavior. If the students know that you are not out to get them then they will be more likely to take what you say to heart.
Classroom management is more an attitude than anything else.
The teacher must be a model for what he expects in the class.