Added DB Connections pool, refactored DB usage