Code clean-up and refactor

Bug fix in Announce_Controller, code clean-up and refactor Emailpost class controller