Initial implementation for communities functionality. Lots of bugs!