Added initial solver class.