removed several codegen references
fixed error in sample device.xml
added device manager comments
removed references to deleted functions
CDevice comments