new libs and tests
refactored code, fixed the graph api and added much more tests and functionality
refactoring and comeplete testsuite