Server reorganization

Reorganized the way the server works. There is now two separate servers,
one for the API only and one for the static webpages. It didn't make
sense to keep them together, as nearly anything can serve the static
content.