symlink and readlink mostly done, still need to fix some detail