Added properties panel
Tidy up plus added a propertiesPanel and a wiring module.