var Controller = function () {};
var mongo
Controller.prototype.getProfile = function () {

};

module.exports.controller = new Controller();

@@ -1,12 +1,27 @@
+'use strict';%0A%0A
 var Controll
@@ -49,62 +49,422 @@
 var 
-mongo%0AController.prototype.getProfile = function () %7B%0A
+MongoClient = require('mongodb').MongoClient;%0Avar url = 'http://strato.oberkirch.org:27017';%0A%0A%0A%0AController.prototype.getProfile = function (locations) %7B%0A  MongoClient.connect(url, function (err, db) %7B%0A%0A%0A    var collection = db.collection('documents');%0A    // Find some documents %0A    collection.find(%7B%7D).toArray(function (err, docs) %7B%0A      console.dir(docs);%0A      callback(docs);%0A    %7D);%0A%0A%0A%0A    db.close();%0A  %7D);
 %0A%7D;%0A
@@ -509,9 +509,8 @@
 oller();
-%0A

add controller