added getCaptureImage(Capture cap) to IRepository