Added Entity, Validable and Resource mixins and Record type