removed helpers, mailers and views, and moved controllers to api folder