simple cache
convert a few things over to "application"
move removal of app()
if you extend application with your class then your can use $this->app and $this->data directly, also added some super simple unit test "thing" but it "works"
updates
remove some of the extends application as it wasn't needed