Implemented the new survey structure and a program to convert existing surveys to the new survey structure. Also added couple views to support that.