Added documenting comments

git-svn-id: https://gnunet.org/svn/gnunet@34785 140774ce-b5e7-0310-ab8b-a85725594a96
now using API calls instead of own fkts

git-svn-id: https://gnunet.org/svn/gnunet@34786 140774ce-b5e7-0310-ab8b-a85725594a96
fixed some issues

git-svn-id: https://gnunet.org/svn/gnunet@34787 140774ce-b5e7-0310-ab8b-a85725594a96