Awesome samples!

This pull request refactors a bunch of stuff in the SampleApp portion of the project, separating the button example from the image example.