xyz initialisation, more pimpl/public-api separation; wip on hskpng