Start of refactor to pull out datastore
Start of refactor to pull out datastore

Messy and untested


Former-commit-id: 7501dcfdbbf79e66fe49f0d120df889a8d664d81
TrimBiggs/libnetwork-plugin,insequent/libcalico,projectcalico/libcalico,tomdee/libnetwork-plugin,alexhersh/libcalico,projectcalico/libnetwork-plugin,caseydavenport/libcalico,TrimBiggs/libnetwork-plugin,plwhite/libcalico,djosborne/libcalico,tomdee/libcalico,TrimBiggs/libcalico,Symmetric/libcalico,robbrockbank/libcalico,L-MA/libcalico