End invariants and the classification of hyperbolic 3-manifolds