removes baseAdapter code to use npm module for base adapter