added table per hierarchy inheritance to unit and updated model validati...

...ons