remove old specs
fix rubocop violations
refactor Errors class.