public static void main(String[] args) throws PropertyNotFoundException, IOException, InterruptedException {
		// Initialize the beans to be used
		injectBeans();

		// Unmarshal validation rules from xml
		initializeValidator();

		// Add watcher and start listening for changes in the target folders
		loadWatchersFromConfigurationFile();

		// Run the raw entity consumer
		runEntityProcessorThread();

		while (true) {
			Thread.sleep(100000);
		}
	}