Working modular struct of the key mamagement