Routing changes.

* Static content is now served from /public. Only the api uses dynamic routing.