Towards C++11 refreshment.

Boost libraries usage narrowed.
Code formatted.