A tool encapsulation toolkit