cleanly build when running the server

this is useful for when a repo is updated to make sure that the server runs cleanly with any new changes.
Merge pull request #47 from cglewis/master

cleanly build when running the server
minor import cleanup
Initial support for making graph snapshots
Initial support for branches