Added all functions needed to create group object and functionality of group management page