use interfaces in gaufrette and liipimagine and image class