Split things to separate files
Add js/main.js, WIP