rewrote gokan-ls tool in terms of libgokan