starting to build the actual output
some more code cleaning
Should have tried before committing
output now includes socket colors