Added cmake options for unit tests and doxygen
Generated files removed.