Add template pile and manager