mp template library