Separate config
Database config is currently hard coded. Separate this out into a config file