Take rubocop advice for some libs
Reformat a lot of code with Rubocop
Refactor SearchOptions