created $group factory
added $group service