Provide a factory constructor for all tokens
Removed the use of regular expressions
Removed useless getters