Add 'usage' functions. Use of 'dirname' and 'basename' from libboost.

You must install libboost-doc and libboost-dev...