Create a directory /token when setting token

Solves #51