separate class definition from excercise scripts