refactor OrmSkeleton to using cmsms Template