Adding code for a web interface