moved utility functions into global library of the strus project