added legal stuff and license