Serve patient info from a database

Serves patient info from a SQLite database if running locally or from Postgres if running in production