Cleaned up some code, fixed the location of some files, and pulled the example code into its own class