Added clustertext code directly into core (instead of submodule).