Split up main.js into relevant subfiles