implement most interactive code with front-side, next keep going, and redesign index.html, and prepare the logging module