http server with model implemented