Get or create token

Rewrite of #5 
Ok got it