Updated license to gpl-v3
Added license details at the top of files