refactoring folder structure to get ready for R on Spark scripts