Moved examples around. Consolidated utility functions into separate classes and split into packages.