Basic flow implementation

Makes sense. I will change that.