add Template class and utilities package