Create modules and refactor into multiple files

Add system class for manager instances, running flag and window
dimensions
Add modules for window, movement and sprites