- Added some more configurations
- Added factory for database connections