modified twine example
added protocol and tools and TODO