Update API

Change method registerCore to setMongoose