added databasegenerator.py