cutout configurator implementation, and make amyssh structure more Go-like