Converted the cdp parser into functions

Separated the parser into IOS and NXOS. Each parser takes the CDP data and parses it accordingly. IOS and NXOS CDP data have different fields.