Add newline at eof
Add API for associating data pointers with devices
Initialize data pointer to NULL.
Add documentation to data funtions