Add DBManager and implement the connection to postgres database
Add DBManager