Implemented static and tempalte directory