Foundations for Interaction: The Dependence Theory