Refactor GraphDatabase to have startup() & shutdown() static methods,
also fix clearDb() method to first shutdown() database