add license and other little things

add license and other little things