Moving all errors into the errors.rb file
Getting rid of warnings