Proper license documentation

Added license information to the header of all source codes.