Added database connection, tidied application parameters to config variable
Added pretty formatting for development environment