base template for the app