restructuring of the repository to allow easy install through devtools::install_github