Added database.py file