Added `main.js` and `main.css` (which are used in the main layout).
Removed a TODO entry.
Split API routes from page routes.
Removed a TODO entry.