Wrote out a bit of framework for key storage