Created question class