Use Rubocop and some refactoring
Merge pull request #11 from Aliev-N/some-refactoring

Use Rubocop and some refactoring