Code written for mongodb server functions with Perl, python and node.js