Refactored Tokenizer for better readability

Removed as many comments as possible and replaced by more precise
method names, explanatory variables, and the like.