Changes Position class to Position struct