add license and fix links