Created DBHandler class and put declarations in