Move functionality from main.js into separate files