Add ApplicationLogicIF interface. Refactor controller for better lose coupling and tight cohesion.
Extend EmailManagerIF and FolderManagerIF to accomodate AplicationLogic.