separated api keys from main script into user_config, added config import, switched to glob for filename acquiring, removed logs file.