Upgrade gem dependencies
Refactor explicit methods to use abstract methods
Fix rubocop warnings
Change flay threshold