http://blog.class.vision/1398/08/jupyter_notebook_into_rest_api/