Code re-organization

Split the functionality across different files. Also put all classes
into the one "GameEngine" module that is to be used for everything.