Serialization + better graphing

Serialization is implemented, not finished though
Graphing is still unfinished, but better