Split Input into 3 classes

Also: you can change the game resolution in XGame's constructor