Implemented build config.

added mongodb.