updated file headers and added licensing terms (permissible MIT)