Achieve the constructor and the destructor of class reader.