added loaddatabase.py