Added comments for every serialization related function.
Merge pull request #33 from xStrom/master

Some additional comments for the serialization code.