refactoring!

Main points:
* moved game logic outside of main
* added Level class
* Player now handle their own wall list