moving hsm package to grendel project