Add templates and static directories.