Implementing /api/groups functionality. POST is almost working :)