Any code in mn is not usable by other Python code. Hence, move this code into util, so other scripts can use it.