Refactor: Level.js

- Refactored level generator and items into files
- Fixed dynamic script loading