The (public) interface, written in Scala and the Scalatra microframework.