Semantic remapping

Remapping functions to semantically map to mapreduce and database sharding.