better intf for T-solvers; separated mem from db_solver; local theory fixes