refactor app.go, move handlers to handlers.go, improved ASSETS_VERSION