Added license and fixed typos