Removed Agent class. This is not good.
Fixed build.
Partially working PlaneForSurface.