Created declaration file for the Graph class and cleaned up and
renamed NodeGraph.js to Graph.js to be more consistent with the
declaration file