removed dependency on mongodb