added relationship model
added inheritance models