templates and css now save in proper dirs