Added ability to create surveys

Fixed bug that prevented versions from being renamed