db set up, still needs logic for location -> key