remove modules time and util, merge midi into lib