Read in query xml
Filter corpus according to time interval
Configure system by configuration file