add license and cleanup old files