dir loader and selector
improve select interface