Fixing the domain objects and schema
A major refactored has been performed to delete the non tenant model that was not required, fix the id tenant type, and remove the revision field