Added basic callback stuff
We can exit the app now