correct gpl v3 header added and some coding standard