added docstrings and minor changes
added some options to the config file
made some minor changes to the way the Sock is made
Continued rearchitecture, WORKING NOW! Also added more docstrings