Create hostdb.py

extended version with extra tables