Added license and changed header file's extension.