Classes

Added Token and Position classes to get rid of some of the array indexing in the cop classes. I think it improves the readability.