Configuration re-write almost done

Still needed some boolean options parsing checks.