changes to parser to implement error, devicelist, monitorlist and connectionlist functions