This commit merges API routes and pages into a single concept. The pages/api folder is now not special anymore.
This commit adds API routes. These routes are located in the ./pages/api/ directory. Each file in there will have it's default export invoked for HTTP calls to the corresponding route.