Connect Function and Send Key function

Added a BZ Connect function and a  basic send Key function.