Entanglement Theory