moved all configuration to file;
added exception handling around futures
duration in config - WIP