move the options page out into a dedicated class