Added missing documentation to socket plugin
Added configuration plugin to read in json config file
Tried to make the configuration plugin more flexiable