add license and update doc