Began refactoring bot functionality into module, starting with player-related functionality.
Finished refactor of player functionality.
Refactored out monster-related functionality.
Fixed compilation of tests.