removes datasync schema
cleanuped up a few parameters
fixed final issues
return database name
cleaned up program