working relation between models, added migration for server hostgroup_id