Added dbmanager for database managment