[mopin] constructor method added to core