added static and template dir