Define datastore class for new API

Spike around having a new Go backend API.