storage, initialization for solver

switched to pointers for consistency throughout.