Implementing controllers against in memory datastores