moved config and token code to their own files