Added license info and comments.