getInfo method added to .h of model classes