Implemented Graphml-Export

I just implemented a first method to export .graphml, also changed some
structural stuff