Finished implementing an in-memory implementation of the Scala API. I
had to adjust the API slightly to type properly.