Preliminary implementation of the new linear solver structure