Refactor graphing routines into separate file
Merge pull request #3 from wernerandrew/graph-module

Refactor graphing routines into separate file