oauth changes and adding key storage

we now store key info in a separate object,
also stubbed out some tests, coming soon