adding earning model and controller
rm old helper file
turning off flash notices for params which were causing rspec tests to fail.