Added mongose lib. WIP implementation of the data layer.