api cleaned
Readability: retrieve token
config templated