Working on key parsing and databases