move playpen snippet to a separate module