Update source code & add license