Updated doc and bug correction
Add Doxyfile for doc generation and minor change to doc