Refactors app to be served from a Python script as pure JavaScript

Decided to ditch TypeScript and node.js, and have the app as a regular
JavaScript Angular app, and serve it with a simple Flask web server.