Sort methods
Break up #next_token into individual methods

This makes next_token fit on one screen which looks nice.