cleaned up the code
removed mongodb