Remove the struct extend stuff
Get a list of key states for key data and cache it in the key data object.
Do not create the database if it does not exist