Adding preinstall to install codelab-model from the parent folder if
available (helps in development)
Rough implementation of the initial functionality for MongoDB adapter
(untested)