Igored files and added ignore file.
Added license for copied code.