add adapter module and add duck class