Web interface integrated with control code