add license, cleanup