made some classes. finished input