Started implementing group functionality, backend