Changed name of object Obstacle to MObject