add classes for adapter pattern
add adapter pattern demo