Reorganizing the Rmd files, using lib dir and shared output config.