Implement state: mapping (though no idea what 0-2 mean),
and make default API key internally predefined again.