started writing some utilities to convert to ml

nothing much working yet...