introduced property onejar.mainJar, performed code cleanup