initial commit |  basic framework to send proper message and error handling