Made sample application properly formatted/doc'd.