working out nice config parsing and ui