Split the main.js file.
Start the refactoring.
More refactoring.
Draw walls.
Fix couple issues to make the game playable again.