added pipeline template, mongodb.js, config.js

Config.js and mongodb.js are generic, pipeline.js is a template