corpus thumb and single document page in place
pattern submodule added