Djsopnet: put helper functions in Tools service