First commit, Handshaking and Receiving Messages work, basic API added.