Added a first version of a REST API for the model framework