added setter for raw
introduced collection resolver
exposed client connection for mongo connection