create Transcoder class to simplify user API