Added mongo client
Added persistence layer for mqtt messages