move hsenv to its own directory