Added a Graph class, refactored, cleaned