create classes for Controller and View parts. start on working the main algorithm first.