Implement more views, split main.js in multiple modules.