Moved player input to its own file