Added a platform class