Jamie H - Modified class visibility for a lot of classes. Added the Apache license to the top of all class files. Fixed a crash bug. Fixed a unit test.