[Examples]: Started working on 1-max example

Started working on the 1-max example, and did a little cleanup on some of the
"core" classes.

Signed-off-by: Sebastian Lenartowicz <slenarto@uoguelph.ca>