Added image service and controller for image attachment processing.