Read / Write GraphML format files

Also move CLI code out of cGraph