Add tests structure
Implement flow structure