refactored all ragemas code into single place and added ragemas-2014 work