more cleaner way to setup srcTemplates and staticFiles