Add dir_locator
- first pass, only work for nix system
- add bundle locator for ios