add license and format line length