Refactoring

Refactoring for:
- ManagePosts Controller
- ManageRegistration Controller
- ManageScheduledTasks Controller

Redesigned the getBasicMemergroupsData function as well.