Merged search with find_by_, organised and decreased SLOC count.
Refactored the code and abstracted parts, resulting in a decrease of 20-30 SLOC.
Decreased and improved(rubified) the code, switched find_by to use symbols.