Move database configuration to environment variables and user specific files