added Blog class and mongoDB