Added 'Grid' and 'Solver' classes.