Added a TokenIterator, updated license headers in various files.