Documentation added

I added lot's of doxygen-style documentation