move genhandlers into ./tools