Added documentation and removed hex dumping
function.
Removed some documentation in the implementation,
this is now in the header file.