enable posting the model and retreiving the current state via HTTP