Sample app and App class to inherit from