changed some imports
fixed various small errors
updated initializedb.py to test models
not sure why github thinks this is different