Some refactoring with pre and post command hooks
Exclude vendor from doxygen