You, as the instructor/professor must establish your goals on the first day. Stating unequivocally your expectations of the students will establish a basis for class control. Goals and grades cannot be achieved if the instructor/professor has no leadership abilities, and is most assuredly not conducive to a learning experience or environment. By being fair, but firm induces an allegiance and less learning time will be wasted trying to regain control of the class.