Write a detailed plan for managing a classroom of 30 students. Include strategies for maintaining focus, encouraging participation, and addressing disruptive behavior. Describe the role of positive reinforcement and how to establish rules and consequences. Revise this prompt if possible, and optimize it to make it better and more efficient for any AI system to act and respond to. If possible run your optimized version.