Creating inspector class