1. Basic flow now inplace but still some debugging before it actually works.