Code formatted and license headers updated.