added static and templates directories