split off SlidesHelper class to a new file