Added classes, methods for solve.
Added unit test for solve result serialization.