Loosing dependencies and switch to rubocop
Fix tests