Extract admin page as Class