Simplify code by not requiring different fields for each survey type; improve commenting