converting social adapter modules to classes, derived from new social adapter base class