(very) basic config parsing