contained templates to message app, removed hard coded file paths