new version of dbcreator

using integer primary key for autoinc property
added foreign keys