Some cleanup in Util.java, including remembering to mark the copied methods static
minor refactoring, documentation, implementation
Beginning work on tests and supporting classes