Add Rubocop, fix warnings and cleanup
Merge pull request #10 from mirego/refactor/add-rubocop-and-cleanup

Add Rubocop, fix warnings and cleanup