mongodb initial conversion

testing mongodb setup with dbadmin script
- api not modified yet