Fix circular dependency error from ApplicationHelper

- Move SMS functions to Messages Controller