Removing dead code. Cleaning up documentation. Adding doxygen configuration file.