moved runtimes to driver, added comments using javadoc convention