Create TextPlay class