Replace derecated method pipe with then
Revert change in config
Merge pull request #24 from ideascollective/pipe-refactor

Replace derecated method pipe with then