convert adapter constuctor to named params

also fixed console script used for initializing irb