start of a utils library, more to follow