Refactoring

- Improved unit placement (No longer get stuck in terrain)
- Added a logging system for help debugging