added required libs and added basic message sending method.