Move tarsum to pkg/

Pretty straightforward, no logic changes.