Adding Windows compatibility (wip) and making graph more dynamic