Moved Doxygen group definitions out of .h and into .c files.
Now creates correct Doxygen structure