Update send message function so that custom message can be sent
Add logging and isolate parameters into config file