Added platform class.
Small refactoring for solution class.