database.py now works with a simple API; working on data_cleaning.py