Update to run as app, with IRC adapter