Add template for generated main