Common interface class of explicit and implicit solvers for regularization
## Context
Explicit and implicit solvers for regularization has different APIs, but some of them can be common.
## Task
Add an interface class of all solvers for regularization.
This will include some refactoring of existing solvers.
## Note
issue