Removed ugly practices and started using Pundit for role management, foreman to automate processes and removed some unnecessary gems
removed unnecessary lines from routes.rb
Added better rspec tests and configured the test environment