Fix whitespace and code alignment
Add missing YARD docs
Fix reek issues
Update flay and reek thresholds