write setup and license