add clearRegisterModels method
recursively add relations in constructor