Complex Study Import from the web app: controller + rest of
implementation

closes #237