add a template for core application