almost done clearing rubocop errors
add rubocop and test on travis