added base resource for mongo DB