Config class for portability
last commit also makes QC works