task: changed env format.
client: added token support.
main: getting variables from environ.