Now using jade templates
DiscoverReferences now buffers the result, so that the variable declerations are not overwritten. Websockets now allowing multiple users