added doc and license