added the database.py file. but didnt finish you write it yeat