server: add mongoose and moment modules
server: add base for the database module

The database content is not fixed, we will need to validate that.
mongod needs to be launched to work.

This commit is a bit messy, but this is just the beginning!