created DataHandler class for cleanup purposes