Initial use of "yosmanyga/resource" library
Fixed typo
Added self validator
Added "ObjectReference" concept
Removed unused property and methods
Added alternative values for properties in constructors, added inheritance from general classes