add create related class to base model