build framework of tar module