adding productID to Document class
fixing aggrigator error and and making making MongoDBAdapter singleton