Changed chan_id references to Channel_PNTR and updated channel_create function signature