public MongoSchema(String host, String database) { super(); try { MongoClient mongo = new MongoClient(host); this.mongoDb = mongo.getDB(database); } catch (Exception e) { throw new RuntimeException(e); } }