Removed lots helper functions from application_helper module