Added reading from a config file. Workin on sync_all functionality.