Refactor. Changed how the world and hero behaves, moving more logic to the SimpleOptimizer,