Doxygen documentation added
Removed unused and outdated member functions and variables