Code refactoring and cleanup

- Add basic rubocop gem
- Add simple config for testing