Create server and common modules, add more views and refactor home code.