Change tabs to spaces and add a license notice