Added wire support

Also optimised and improved features and interaction with Sonic
Screwdriver.