TODO
graph generator + testing
api configured outside with mocking support