removed some unnecessary code
renamed read_db.py to db_tools.py