Separated main loop to a separate file
Added gamestate logic
Merge branch 'gamestates'
Filenames updated to point to the image/ directory