added basic config parsing