fixing bug
fixing typo
fixing connection bugs and clearing out base connection class to support TCP and UDP