started modifying mtest such that it no longer relies on pyserial.
updated serial connection code