Added pay key functionality, added pay-chain storage functionality, started in on pay-chain validation.