added global options with modes
plus 00Index file and renamed a couple of files
renamed jags_analysis as jags_analysis_internal and
jags_model as jags_model_internal