converted to prototypical class and test errors
fixed post systemconnect
tests passing