Created main function and SystemClass

no InputClass or GraphicsClass yet defined, code there though