Added controller layer for the webui adaptor(not wired yet)