Reorganizing configs and FTP check.

Now configs are dictionaries.