Added license to each file. Updated error messages with new naming convention.