Multiline block should have do..end
Split up long function call
Use module instead of class for config