Move doc to wiki, add extract-inner and extract-outer