Added documents system

stage 1