Bug fix: wrong allocation and free of memory.
Proper saving data to MongoDB.
WIP: support for node versions.