We develop an abstract measure-theoretic notion of solutions to gSQG equation based on the dynamics of level-sets of solutions, and prove an H^2 local-wellposedness result in this setting using a sequence of regularized contour equations.