add dir temp && refactor dir controller