[new_code] Put all of the code into methods of the dryslide class