implemented PlayerInput, which buffers up/down key input for player control
moved MainWindow to gui package