Initial implementation of the HTML client