Add zIndex, JSON serialization interface, pictures loading model