added new InputFormat class with the reader and split