add base flask routes/backend