Partial refactor from stock c++11 to boost.
License change, AGPLv3 -> LGPLv2.1