How can I add an options page for my class based plugin?

try to change

 do_settings_sections('sample_section1');

to

 do_settings_sections('sample');