feature-db: Implemented DB conntection functionality