add mongodb support. closes #23