TokenLoader class introduced

Token loader prepared as a singleton. One failing test prepared. Some minor typos fixed.