cleanup start prepping for import as a module
tell server to instantiate graph singleton