Created a new db managment class/ Added keymaps