adding application config, making the template more general use