Implemented config file reading