added mongodb integration

added mongoldb integration to store sources and code selectors.