Restructured Inputs and Outputs into Modules, added some sockets sweetness