adding models validation + model relations {#4}