create class for parsing config