dbschema complete, automatic db creation and works, adding additional constraints not yet.