MEDEA: A REAL TIME IMAGING PIPELINE FOR PIXEL LENSING