Implemented base data binding code
read all required fields from input message 
resolve msg type, to and template