Added graph, node factories. fixes #7. fixes #10.
Fixed log/test folder