refactoring
add reading/saving token from config file