Create IOProtocol, take println and read-line out of game logic