move ucimap into the core library