Enable the static server

This required moving all Python code to the root of the repository, removing the
`api` directory in the process.