Quite a few changes to incorporate rubocop
Merge pull request #4 from retr0h/add-rubocop

Add rubocop