Add MIT licence
Fix old codename in logs
Make web server ports optionally configurable