Starting Smiles Flow with refactored code