Added enable-digital-port-reporting; refactoring
added set-digital; more refactoring
Added set-analog; more assertions; added some event receiving utils