add environment type in config
added mongoose as dependency
using mongoose to store subscriber data
reading subscriber from data stored in mongod
demo data added