added basic group functionality ... yet to be improved and finished