Structure And Randomness In Complexity Theory And Additive Combinatorics