Store image data in history
Wrap workspace in AMD module