adapted to current ringo-sqlstore
use gestalt for config