Backward prover now functional + bunch o refactoring.