Refactor command line game, command line interface