move more general code into Artus repository