set default debug to 0
update README
added copyright and license