makes GraphAdapter a singleton