import org.meridor.perspective.events.ImageEvent;
<BUG>import org.meridor.perspective.backend.messaging.Message;
import org.meridor.perspective.backend.storage.ImagesAware;</BUG>
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
<BUG>import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import ru.yandex.qatools.fsm.Yatomata;
import java.util.Optional;</BUG>
import static org.meridor.perspective.events.EventFactory.imageToEvent;

import org.meridor.perspective.events.ImageEvent;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Component;
import ru.yandex.qatools.fsm.Yatomata;
import ru.yandex.qatools.fsm.impl.FSMBuilder;
import java.util.Optional;
import static org.meridor.perspective.events.EventFactory.imageToEvent;
