Initial Commits

Various useful helper functions and classes, some my own, some modified
versions of others.