util: moved map and print to mmx namespace