reorganised mcrunner and added documentation