Fix inconsistent whitespace (remove tabs) and add license