centralized settings and added validation to nextseq samplesheet