cleaned database.py of residue
cleaned stuff