create Detube class