Clean up states
supervisor to nbviewer
Integration tests
Manage supervisor with the built in states