Structures in two dimensional category theory and applications to polynomial functors