WIP Token provider

impl of #256 

tests missing (i am not that good at test driven dev)