Adding partially tested fetch-tokens command. Relates to #2.