Fixed both examples to work with the new classes

Made the library more "arduino" like and simpler to use.