Added ApplicationManager and refactored OrganizationService to publish events