add license and fix name spacing problem