Add handling for multiple line inputs. Remove activesupport gem