Renamed createNanobot to createObject and added TODO for this function