Added option to store manifest in mongo db