isoloated the message and connection manager class, also moved control of thrown errors to the spider