Carve out of ImageAdapter and dream service impl

Dream service now working fine