added license details in files
fixed minor errors