changed constructor of configIO to private