Cleaned up notebook a bit - moved generic-ish functions into a config file pyxis.conf