First Principles And Effective Theory Approaches To Dynamics Of Complex Networks