updated Database.py with additional methods and cleaned it up