Implement a NotebookApp via the IPython API rather than the OS.