added a tools class to have a whole whack of static methods