add some common util class to template