Strcutured code converter to OO.
Added handlers for frame reception.
Added API support for sending/receiving from 16/64 bit addresses.