Implement the web interface
Variables rearrangement