refactor DbPump
use pry
refactor pump to be more functorish