Implemented a simplified version of the web controller