retructured static and templates dirs