Reowrked the wire creation and added support for moving components.