skeleton class for Inverted Index