changing the initialization of all keys and types so that they follow the schema create or get