Added license header and converted spaces to tabs