Research software for conducting a task between card sorting and sketch map drawing I'm doing research in Spatial Cognition and am looking for software which will allow me to conduct the following task:

Participants will walk around a space and sit down to a computer task afterwards. There'd be a 2d architectural layout of the space visited by participants presented in the centre of the screen. On the side of the screen, the participants will see randomly scattered image stimuli, representing objects they have seen inside the space. I want them to be able to either drag&amp;drop the images to their assumed locations in the architectural layout, or to click/select an image and click on the place inside the layout where they think they saw a given object. I want to record the final location and the sequence of operations.

I looked at card sorting tools from HCI, but these seem to be too restrictive (won't allow to change background image for example), so I thought someone in this group could hear of psychological software capable of running this sort of task.
I think a good option would be to use a general purpose language. For example, I once used Visual Basic to program a task that allowed for dragging elements around a display. The IDE for Visual Studio makes it easier to create GUIs. You could readily include a background image and so forth. You could also record location of visual elements and each action that a user takes.