In a large bowl whisk together, flour, cornstarch, baking powder, baking soda, and salt; set aside. In a stand mixer, cream the butter, brown sugar, and sugar until light and fluffy, about 3-4 minutes. Add the vanilla, then the eggs one at a time, mixing after each addition. Gradually add in the dry ingredient mixture, mix until just combined.