split tricks module into a separate package.