allow override of default template location and app name in server.js