[CORE] Add label creation function