clean up packages, add Torch