Moved graph to own file, added drag and zoom