application code for WDI data manipulation on MongoLab