update example app, simplify some of the validation stuff. remove app reference all over the place