added group creation, refactored posts