added Platform class