breaking code into individual class files