Add tab completion for find command. Also change api a bit.