Use one hashmap per state instead of a single huge hashmap to save space
Give io.go a proper name