Converted and integrated second example.
Moved all titling into the definition file and replaced all references in the docs with the proper variables.