SPM8  preprocesing scripts for the remaining projects
Generalized and refactored roinii and metadata generation routines