moving controller actions to a helper in server so that code can be reused.
using event feed service helper in openMRS