Link theory in manifolds