inital convert from RockPaperScissors to dBay
move key pattern matching to store
document pattern matching with keys and more tests